<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
   <meta http-equiv="Access-Control-Allow-Origin" content="*">
  <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
  <title>Get started with SceneView - Create a 3D map - 4.0</title>
  <style>
    html,
    body,
    #viewDiv {
      padding: 0;
      margin: 0;
      height: 100%;
      width: 100%;
    }
  </style>


  <script src="Config.js"></script>

  <script type="text/javascript">
 require(["esri/map","esri/layers/ArcGISTiledMapServiceLayer","dojo/domReady!"],
 function (Map,ArcGISTiledMapServiceLayer){
 var map = new Map("viewDiv");
 //var url = "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer";
 var url =HBMapURL;
 var layer = new ArcGISTiledMapServiceLayer(url,{displayLevels:[0,1,2,3,4,5,6,7]});
 map.addLayer(layer);
 });
  </script>
</head>

<body>
  <div id="viewDiv"></div>
</body>
</html>